<?php
//mysql_connect("localhost","wanzai_mylibrary","881006");
mysql_connect("127.0.0.1","root","");
mysql_select_db("wanzai_mylibrary");
//mysql_query('SET NAMES UTF8');
if($_REQUEST['m_num']!=null){
$sql=mysql_query("select * from manager where M_Num='".$_REQUEST['m_num']."'");
}

//$sql=mysql_query("select * from student where S_Name='jhg'");
while($e=mysql_fetch_assoc($sql))
			$output[]=$e;
print(json_encode($output));
mysql_close();
?>